<?php
/**
 * PSA config override file with customized settings.
 * See psa/config.php for description of these values.
 */


$PSA_CFG['pdo']['dsn']      = "mysql:host=localhost;port=3306;dbname=jopsa";
$PSA_CFG['pdo']['driver_options'] = array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8", PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION);
$PSA_CFG['pdo']['username'] = 'root';
$PSA_CFG['pdo']['password'] = '';
$PSA_CFG['pdo']['database'] = 'jopsa';


/*
$PSA_CFG['pdo']['dsn']      = "pgsql:host=localhost;port=5432;dbname=psa";
$PSA_CFG['pdo']['driver_options'] = array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION);
$PSA_CFG['pdo']['username'] = 'postgres';
$PSA_CFG['pdo']['password'] = 'pLroot';
$PSA_CFG['pdo']['database'] = 'psa';
*/



//$PSA_CFG['folders']['basedir_web'] = '/webroot/psa1/skeleton_app1_test';

$PSA_CFG['develop_mode'] = 1;

$PSA_CFG['profile_log'] = 0;

$PSA_CFG['logging']['max_log_level'] = 10;

$PSA_CFG['folders']['autoload'][] = '../models';
$PSA_CFG['folders']['autoload'][] = '../views';
$PSA_CFG['folders']['autoload'][] = '../controllers';
$PSA_CFG['folders']['autoload'][] = '../exceptions';


$PSA_CFG['folders']['hook_autoload'][] = '../hooks';


// $PSA_CFG['router_location'] = '..';
